www.gusucode.com > VC++ 对Word文档的各种操作 > VC++ 对Word文档的各种操作/gusucode/testWordAll/Form1.cpp

    // Form1.cpp : implementation file
//

#include "stdafx.h"
#include "testWordAll.h"
#include "Form1.h"

#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif

/////////////////////////////////////////////////////////////////////////////
// CForm1 dialog


CForm1::CForm1(CWnd* pParent /*=NULL*/)
	: CDialog(CForm1::IDD, pParent)
{
	//{{AFX_DATA_INIT(CForm1)
		// NOTE: the ClassWizard will add member initialization here
	//}}AFX_DATA_INIT
}


void CForm1::DoDataExchange(CDataExchange* pDX)
{
	CDialog::DoDataExchange(pDX);
	//{{AFX_DATA_MAP(CForm1)
		// NOTE: the ClassWizard will add DDX and DDV calls here
	//}}AFX_DATA_MAP
}


BEGIN_MESSAGE_MAP(CForm1, CDialog)
	//{{AFX_MSG_MAP(CForm1)
	ON_COMMAND(IDR_MENU1, OnMenu1)
	//}}AFX_MSG_MAP
END_MESSAGE_MAP()

/////////////////////////////////////////////////////////////////////////////
// CForm1 message handlers

void CForm1::OnMenu1() 
{
	// TODO: Add your command handler code here
	
}